package com.benmei.weike.dto.payment;

import java.math.BigDecimal;

/**
 * Created by Peter on 2017/9/18.
 */
public class CreateOrderRequest {
    private String goodsCategoryCode;//商品类型 1v1Course,weike,vip
    private String payType;//支付类型：wallet 余额支付； multiple 组合支付(余额 + P++)； thirdpart P++支付；applePay 苹果支付；huifenqi 惠分期-分期支付
    private String channel;//支付渠道 wx,alipay,applePay
    private Integer goodsId;//商品id
    private BigDecimal money;//支付金额
    private Integer openingtime = 0;//购买会员月数
    private Integer discountCouponId = 0; //用户使用的优惠券id
    private String applePayReceipt; // 苹果支付客户端支付凭证，服务器使用此凭证查询apple服务器验证支付结果
    private String isSandbox ;//苹果支付：是否是沙盒环境0:沙盒；1线上
    private Integer mcGroupId;// 系统课团购参团时需要填写团的id

    public Integer getMcGroupId() {
        return mcGroupId;
    }

    public void setMcGroupId(Integer mcGroupId) {
        this.mcGroupId = mcGroupId;
    }

    public String getIsSandbox() {
        return isSandbox;
    }

    public void setIsSandbox(String isSandbox) {
        this.isSandbox = isSandbox;
    }

    public String getApplePayReceipt() {
        return applePayReceipt;
    }

    public void setApplePayReceipt(String applePayReceipt) {
        this.applePayReceipt = applePayReceipt;
    }

    public Integer getDiscountCouponId() {
        return discountCouponId;
    }

    public void setDiscountCouponId(Integer discountCouponId) {
        this.discountCouponId = discountCouponId;
    }

    public Integer getOpeningtime() {
        return openingtime;
    }

    public void setOpeningtime(Integer openingtime) {
        this.openingtime = openingtime;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getGoodsCategoryCode() {
        return goodsCategoryCode;
    }

    public void setGoodsCategoryCode(String goodsCategoryCode) {
        this.goodsCategoryCode = goodsCategoryCode;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
}
